--------------------------------------------------------------------------------------------------------------------------------- name: log: /Volumes/CORSAIR/Class 1-30-20.log log type: text opened on: 30 Jan 2020, 11:14:42 . summarize gpoints hsgpa irdr Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- gpoints | 839 2.837187 .8455272 0 4 hsgpa | 662 3.622187 .4087667 .29 4.79 irdr | 865 3.331075 .5547127 1.5 5 . twoway (scatter hsgpa gpoints) . twoway (scatter gpoints hsgpa) . regress gpoints hsgpa Source | SS df MS Number of obs = 640 -------------+---------------------------------- F(1, 638) = 57.77 Model | 38.2682973 1 38.2682973 Prob > F = 0.0000 Residual | 422.60364 638 .66238815 R-squared = 0.0830 -------------+---------------------------------- Adj R-squared = 0.0816 Total | 460.871937 639 .721239338 Root MSE = .81387 ------------------------------------------------------------------------------ gpoints | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- hsgpa | .5977217 .0786386 7.60 0.000 .4432999 .7521434 _cons | .6528708 .2868844 2.28 0.023 .0895191 1.216223 ------------------------------------------------------------------------------ . outreg2 using graderegs , word /Applications/Stata/ado/base/o/outreg2.ado graderegs.rtf dir : seeout . reg gpoints irdr Source | SS df MS Number of obs = 839 -------------+---------------------------------- F(1, 837) = 74.64 Model | 49.0522912 1 49.0522912 Prob > F = 0.0000 Residual | 550.04747 837 .657165435 R-squared = 0.0819 -------------+---------------------------------- Adj R-squared = 0.0808 Total | 599.099761 838 .714916182 Root MSE = .81066 ------------------------------------------------------------------------------ gpoints | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- irdr | .4354099 .0503971 8.64 0.000 .3364902 .5343295 _cons | 1.386878 .1701852 8.15 0.000 1.052838 1.720918 ------------------------------------------------------------------------------ . outreg2 using graderegs , word append graderegs.rtf dir : seeout . predict gpahat if e(sample) (option xb assumed; fitted values) (30 missing values generated) . twoway (scatter gpoints gpahat) . gen uhat = gpoints - gpahat (30 missing values generated) . twoway (scatter gpahat irdr) . twoway (scatter gpahat irdr) (scatter gpoints irdr) . reg gpoints female Source | SS df MS Number of obs = 572 -------------+---------------------------------- F(1, 570) = 0.00 Model | .000032952 1 .000032952 Prob > F = 0.9947 Residual | 419.702064 570 .73631941 R-squared = 0.0000 -------------+---------------------------------- Adj R-squared = -0.0018 Total | 419.702097 571 .735029942 Root MSE = .85809 ------------------------------------------------------------------------------ gpoints | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- female | .000496 .0741451 0.01 0.995 -.145135 .1461271 _cons | 2.832682 .0453515 62.46 0.000 2.743605 2.921758 ------------------------------------------------------------------------------ . log close name: log: /Volumes/CORSAIR/Class 1-30-20.log log type: text closed on: 30 Jan 2020, 11:55:04 ----------------------------------------------------